package com.jeecms.wicool.manager.activities.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.dao.activities.ActivitiesApplyDao;
import com.jeecms.wicool.dao.activities.ActivitiesDao;
import com.jeecms.wicool.entity.activities.ActivitiesApply;
import com.jeecms.wicool.manager.activities.ActivitiesApplyMng;

public class ActivitiesApplyMngImpl implements ActivitiesApplyMng {

	@Autowired
	private ActivitiesApplyDao dao;
	@Override
	public Pagination getPage(Integer psid,String name, String phoneNumber, int pageNo,
			int pageSize) {
		// TODO Auto-generated method stub
		return dao.getPage(psid,name, phoneNumber, pageNo, pageSize);
	}
	@Override
	public List<ActivitiesApply> findByUserId(Integer psid,String userId){
		return dao.findByUserId(psid,userId);
	}
	@Override
	public ActivitiesApply save(ActivitiesApply bean){
		return dao.save(bean);
	}
	@Override
	public List<ActivitiesApply> findByPsid(Integer psid){
		return dao.findByPsid(psid);
	}
}
